package com.team11.server.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="SelKqInformation对象", description="")
public class SelKqInformation {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "考勤id")
    @TableId(value = "a_id", type = IdType.AUTO)
    private Integer aId;

    @ApiModelProperty(value = "项目名称")
    @TableField("kc_name")
    private String kcName;

    @ApiModelProperty(value = "上课id")
    @TableId(value = "sk_id", type = IdType.AUTO)
    private Integer skId;

    @ApiModelProperty(value = "学生id")
    @TableId(value = "sid", type = IdType.AUTO)
    private Integer sId;

    @ApiModelProperty(value = "签到时间")
    @TableField("kc_in_time")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "Asia/Shanghai")
    private Date kcInTime;

    @ApiModelProperty(value = "签退时间")
    @TableField("kc_out_time")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "Asia/Shanghai")
    private Date kcOutTime;

    @ApiModelProperty(value = "日期")
    @TableField("kc_date")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private Date kcDate;

    @ApiModelProperty(value = "责任老师")
    @TableField("zrtName")
    private String zrtName;

    @ApiModelProperty(value = "实训老师")
    @TableField("sxtName")
    private String sxtName;

    @ApiModelProperty(value = "项目组名称")
    @TableField("p_name")
    private String pName;

    @ApiModelProperty(value = "院系")
    @TableField("c_department")
    private String cDepartment;

    @ApiModelProperty(value = "专业")
    @TableField("c_major")
    private String cMajor;

    @ApiModelProperty(value = "年级")
    @TableField("c_grade")
    private String cGrade;

    @ApiModelProperty(value = "班级")
    @TableField("c_class")
    private String cClass;

    @ApiModelProperty(value = "考勤情况")
    @TableField("a_state")
    private Integer aState;

    @ApiModelProperty(value = "实签到")
    @TableField("a_real_in")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "Asia/Shanghai")
    private Date aRealIn;

    @ApiModelProperty(value = "实签退")
    @TableField("a_real_out")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "Asia/Shanghai")
    private Date aRealOut;

    @ApiModelProperty(value = "学号")
    @TableField("s_id")
    private String sNumber;

    @ApiModelProperty(value = "学生姓名")
    @TableField("s_name")
    private String sName;

    @ApiModelProperty(value = "请假id")
    @TableField("l_id")
    private Integer lId;


}
